#ifndef DIALOG_H
#define DIALOG_H

#include "ui_dialog.h"
class Dialog : public QDialog, private Ui::Dialog {
    Q_OBJECT
    Q_DISABLE_COPY(Dialog)
public:
    explicit Dialog(QWidget *parent = 0);
    QString nameb[100];
    QString addrb[100];
    int num_rsp;
protected:
    virtual void changeEvent(QEvent *e);


private slots:
    void initlist();
    void on_pushButton_released();
    void on_pushButton_pressed();
};

#endif // DIALOG_H
